﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：TongTongMallDbContextBase.cs
// 功能描述：TongTongMall.MallWeb.DapperFramework
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Dapper;
using TongTongMall.Dapper.DapperExtensions;
using TongTongMall.Dapper.Repository;
using TongTongMall.Domain.Repositories.Entities;

namespace TongTongMall.DapperFramework.Repositories
{
    public class TongTongMallDbContextBase<TEntity, TPrimaryKey> : DapperRepositoryBase<TEntity, TPrimaryKey>
         where TEntity : class, IEntity<TPrimaryKey>,new()
    {
        public TongTongMallDbContextBase(IDbContextProvider<IDatabase> dbContextProvider) : base(dbContextProvider)
        {
        }
    }  

}
